x86: PIT emulation is common to both PV and HVM
authorWei Liu <wei.liu2@citrix.com>
Tue, 4 Sep 2018 16:15:22 +0000 (17:15 +0100)
committerWei Liu <wei.liu2@citrix.com>
Thu, 6 Sep 2018 15:54:38 +0000 (16:54 +0100)
commit833a81b439912498e2f554560e296eb6abcf3de7
tree769042dc0d6095ee8b02e7d559a8cd5efc831053
parent49136c3898fc71c4d9e9a8c93bb59b4c601b1eec
x86: PIT emulation is common to both PV and HVM

Move the file to x86 common code and change its name to emul-i8254.c.

Put HVM only code under CONFIG_HVM or is_hvm_domain.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Makefile
xen/arch/x86/emul-i8254.c [new file with mode: 0644]
xen/arch/x86/hvm/Makefile
xen/arch/x86/hvm/i8254.c [deleted file]